<div class="evaluations form">
<?php echo $this->Form->create('Evaluation'); ?>
	<fieldset>
		<legend><?php echo __('Editar Evaluation'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->hidden('plantilla_id');	
		echo $this->Form->input('comentario');
		echo $this->Form->input('nota')
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

			<?php if($this->Session->read('Auth.User.role_id')=='1'): ?>	
<!--		<li><?php echo $this->Html->link(__('Edit Evaluation'), array('action' => 'edit', $evaluation['Evaluation']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Evaluation'), array('action' => 'delete', $evaluation['Evaluation']['id']), null, __('Are you sure you want to delete # %s?', $evaluation['Evaluation']['id'])); ?> </li> -->
		<li><?php echo $this->Html->link(__('Listar Evaluationes'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Listar Plantillas'), array('controller' => 'plantillas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Nueva Plantilla'), array('controller' => 'plantillas', 'action' => 'add')); ?> </li>
	<!--	<li><?php echo $this->Html->link(__('List Criterios'), array('controller' => 'criterios', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Criterio'), array('controller' => 'criterios', 'action' => 'add')); ?> </li> -->
		<?php endif; ?>
		<?php if($this->Session->read('Auth.User.role_id')=='6'): ?>	
		<li><?php echo $this->Html->link(__('Mis evaluaciones'), array('controller' => 'evaluations', 'action' => 'index')); ?> </li>
		<?php endif; ?>
	</ul>
</div>
